#ifndef __MIN_LOG_H__
#define __MIN_LOG_H__

#include "lock.h"

struct cc_log;
struct cc_log* log_create(const char* logfile, struct lock* l, int delay_write);
void log_destroy(struct cc_log*);
void log_printf(struct cc_log*, const char* fmt, ...);
void log_flush(struct cc_log*);
void unittest_cc_log();

#endif

